package com.fqxl.labour.service.impl;

import com.fqxl.labour.domain.LabourBusinessLicense;
import com.fqxl.labour.mapper.BusinessLicenseMapper;
import com.fqxl.labour.service.BusinessLicenseService;
import com.fqxl.labour.untils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BusinessLicenseServiceImpl implements BusinessLicenseService {

    @Autowired
    private BusinessLicenseMapper businessLicenseMapper;

    @Override
    public R addBusinessLicence(LabourBusinessLicense labourBusinessLicense) {
        businessLicenseMapper.addBusinessLicence(labourBusinessLicense);
        return R.ok("添加成功");
    }
}
